Make remote invocation work on param passing not closures

* Shorter code.
* No need to have special remote-only versions of functions