Removed some unnecessary methods in the model.