Added exportAttr method