docs: public T create(final Class<T> klass) {
      T obj;
      try {
        obj = (T) klass.newInstance();
      }
      catch (IllegalAccessException e) {
        throw new DocrepException(e);
      }
      catch (InstantiationException e) {
        throw new DocrepException(e);
      }
      add(obj);
      return obj;
    }