Added the ability to extend a model with another model