code: public void addFunctions(final FunctionSet functions) {
      checkNotNull(functions);
      log.debug("Adding functions: {}", functions);
  
      Object target = functions.target();
      for (String name : functions.names()) {
        addCommand(null, target, name);
      }
    }
docs: TODO: consider how we want to generally cope with functions and the registry