Changing Model to derive from BaseModel class