docs: @Deprecated
      public static void recordOperationSteps(final OperationContext context, final List<ModelNode> operations,
                                                         final List<ModelNode> responses) throws OperationFailedException {
          assert responses.isEmpty() || operations.size() == responses.size();
  
          boolean responsesProvided = !responses.isEmpty();
  
          LinkedHashMap<Integer, ModelNode> operationMap = new LinkedHashMap<>();
          Map<Integer, ModelNode> responseMap  = new LinkedHashMap<>();
          int i = 0;
          for (ModelNode op : operations) {
              operationMap.put(i, op);
              if (responsesProvided) {
                  ModelNode response = responses.get(i);
                  assert response != null : "No response provided for " + i;
                  responseMap.put(i, response);
              }
              i++;
          }
          recordOperationSteps(context, operationMap, responseMap, OperationHandlerResolver.DEFAULT, false, true);
  
          if (!responsesProvided) {
              responses.addAll(responseMap.values());
          }
      }