the model_class can now be set