Split Model::getModelFromParameters() into 2 parts