Added the ability to get and set attributes