add setParam overload method.