Utility Function. Taken from party package to remove ":::" warning
mob_fit_getobjfun(obj, mf, weights, left, objfun = deviance)
see party package