def method_missing(method, *args, &block)
      return rpc(method, args.first, args[1]) if function(method)

      super
    end
def method_missing(method, *args, &block)
      return rpc(method, args.first, args[1]) if function(method)

      super
    end
Proxy methods through to the services, instead of calling rpc()