Add helper methods for adding new attributes.

Closes #7