public Element CreateElement(ElementType type, string name) { string mappedName = m_loader.NameMapper.AddToMap(name); Element result = new Element(type, m_loader); result.Name = name; result.MetaFields[MetaFieldDefinitions.MappedName] = mappedName; m_loader.AddElement(result); return(result); }