Changes factory name from Base to BaseModel.