Example function rpc() now allows caller to leave out 'params' argument.