MapBuilder Compiler Pass: getDefinition changed to Reference

With getDefinition more than one object is created.