Added classmethods to model_base