Move Model creation to BaseModel.