Updated merging to new metamodel.