code: def _register_simple(self, endpoint, scheme, f):
          
          assert scheme in DEFAULT_NAMES, ("Unsupported arg scheme %s" % scheme)
          if scheme == JSON:
              req_serializer = JsonSerializer()
              resp_serializer = JsonSerializer()
          else:
              req_serializer = RawSerializer()
              resp_serializer = RawSerializer()
          self._handler.register(endpoint, f, req_serializer, resp_serializer)
          return f
docs: Register a simple endpoint with this TChannel.
  
          :param endpoint:
              Name of the endpoint being registered.
          :param scheme:
              Name of the arg scheme under which the endpoint will be
              registered.
          :param f:
              Callable handler for the endpoint.