docs: public void registerCommand(String node, String name, final Class<? extends LocalCommand> clazz) {
          registerCommand(node, name, new LocalCommandFactory() {
              @Override
              public LocalCommand getInstance() throws InstantiationException, IllegalAccessException, IllegalArgumentException, InvocationTargetException, NoSuchMethodException, SecurityException  {
                  return clazz.getConstructor().newInstance();
              }
          });
      }