@SuppressWarnings("UnusedDeclaration")
  public void setResponseHandlers(@NotNull List<ResponseHandler> responseHandlers) {
    responseHandlerMap.clear();
    for (ResponseHandler handler : responseHandlers) {
      responseHandlerMap.put(handler.getResponseType(), handler);
    }
    // ResponseHandler#repository field is excluded from serialization to prevent
    // circular dependency, so it has to be done manually during a serialization process
    for (ResponseHandler handler : responseHandlerMap.values()) {
      handler.setRepository(this);
    }
  }
@SuppressWarnings("UnusedDeclaration")
  public void setResponseHandlers(@NotNull List<ResponseHandler> responseHandlers)