Add getter for the name attribute