Defined more methods in the model classes