docs: public void insertHandler(Class<?> restrictionClass, H handler) {
      // note that the handlers list is kept in a list that is traversed in
      // backwards order.
      handlers.add(new Pair<Class<?>, H>(restrictionClass, handler));
    }