			#set( $multipleRegistry = $mofutility.MultipleMetamodelsRegistry)
			#set ($qualifiedName = $mofutility.getQualifiedName($object.InstanceOf))
			#if(!$multipleRegistry)
								   #set( $registryName = $mofutility.RegistryClassName )
				   #set( $fullPackageName = $package.FullPackageName )
							   $name = ( $qualifiedName )( ${registryName}.getInstance( refOutermostPackage(), "${fullPackageName}.${type}" ) );
			#else
				   #set( $registryName = $mofutility.MultipleMetamodelsRegistryClassName )
				   #set( $registryKey = $mofutility.getQualifiedName($package) )
				   $name = ( $qualifiedName )( ${registryName}.getInstance( "${registryKey}.${type}" ) );
			#end