Use YAML anchors instead of extends keyword which does not handle variables expansion correctly. GNP-5711.