Saves the parameters. Enforces use of modelInfo.