add some classmethods for Model