def METHOD_NAME(
    self, category: str, namespace: str, name: str, func: Callable
):
    if namespace not in self.registered_actions[category]:
        self.registered_actions[category][namespace] = {}
    self.registered_actions[category][namespace][name] = func