Make params the first argument of all funcs.