Adding the Model factory.