Switch over a few uses of param_begin() to parameters()