docs: private <T> CategoryRegistry<T> getRegistry(final Class<T> pCategory) {
          @SuppressWarnings({"unchecked"})
          CategoryRegistry<T> registry = categoryMap.get(pCategory);
          if (registry == null) {
              throw new IllegalArgumentException("No such category: " + pCategory.getName());
          }
          return registry;
      }