Implement keeping model_name both for class and object