Support setting parameters for a method.