ModelParams is now used only internally