Added in method for getting and setting attributes