docs: def register(self, name):
          """Decorator for registering a named function in the sesion logic.
  
          Args:
              name: str. Function name.
              func: obj. Parameterless function to register.
  
          The following named functions must be registered:
              'LaunchRequest' - logic for launch request.
              'SessionEndedRequest': logic for session ended request.
  
          In addition, all intents must be registered by their names specified
              in the intent schema.
  
          The aliased decorators: @launch, @intent(name), and @session_ended exist
              as a convenience for registering specific functions.
          """
          def decorator(func):
              """Inner decorator, not used directly.
  
              Args:
                  func: obj. Parameterless function to register.
  
              Returns:
                  func: decorated function.
              """
              self.logic[name] = func
              @wraps(func)
              def wrapper():
                  """Wrapper, not used directly."""
                  raise RuntimeError('working outside of request context')
              return wrapper
          return decorator