Added missing cast for CModelParameterSets.