added BMLBehaviorAttributeExtension writing