Use helpers for defining api
Add Attribute.prototype.toString