added method getModelClass()