I think that the model should still be registered using the passed in name, that is "modelName".