Sort model methods by number of parameters in order to increase the likelihood that overriden methods will be added in the same order, to avoid incorrectly overriding the wrong method in a sub-class (due to overloads).