allow generic Model, not only \Core\Models\BaseModel