Added a getter for attributes