code: private void registerOperations() {
      Class<?> type = getClass();
      for (Method method : type.getMethods()) {
        if (isOperationMethod(method)) {
          registerMethod(method);
        }
      }
    }
docs: Registers operations for the class.