Fix void rpc

Specialize invoker class for functions returning void.