Added additional fields for testing inheritance to the dummy_model.
Added support for model inheritance.