Added more model classes and implemented some methods.