Added getter for character class.