code: def process(self, envelope, session, mode=None, **kwargs):
  		
  		if mode is None:
  			raise RuntimeError('"mode" argument must be specified for this object')
  
  		if isinstance(mode, self.__mode_cls) is False:
  			raise TypeError('Invalid "mode" argument')
  
  		return self._process(envelope, session, mode, **kwargs)
docs: :meth:`.WMessengerOnionLayerProto.process` implementation