assert prop.getName( ) == IDesignElementModel.REF_TEMPLATE_PARAMETER_PROP;
assert IDesignElementModel.REF_TEMPLATE_PARAMETER_PROP.equals( prop.getName( ) );
	private void clearRefTemplateParameterProp( ElementPropertyDefn prop,			Object value ) throws SemanticException	{		assert prop != null;		assert prop.getName( ) == IDesignElementModel.REF_TEMPLATE_PARAMETER_PROP;		ActivityStack stack = module.getActivityStack( );		stack.startTrans( );		try		{			ElementRefValue templateParam = (ElementRefValue) element					.getProperty( module, prop );			TemplateParameterDefinition definition = (TemplateParameterDefinition) templateParam					.getElement( );			doSetProperty( prop, value );			if ( definition != null && !definition.hasReferences( ) )			{				ContentCommand cmd = new ContentCommand( definition.getRoot( ),						definition.getContainer( ) );				cmd.remove( definition, definition.getContainerSlot( ) );			}		}		catch ( SemanticException e )		{			stack.rollback( );			throw e;		}		stack.commit( );	}