docs: private Map<Set<ServerIdentity>, ModelNode> getDeploymentOverlayOperations(ModelNode operation,
                                                                                 ModelNode host) {
          final PathAddress realAddress = PathAddress.pathAddress(operation.get(OP_ADDR));
          if (realAddress.size() == 0 && COMPOSITE.equals(operation.get(OP).asString())) {
              //We have a composite operation resulting from a transformation to redeploy affected deployments
              //See redeploying deployments affected by an overlay.
              ModelNode serverOp = operation.clone();
              Map<ServerIdentity, Operations.CompositeOperationBuilder> composite = new HashMap<>();
              for (ModelNode step : serverOp.get(STEPS).asList()) {
                  ModelNode newStep = step.clone();
                  String groupName = PathAddress.pathAddress(step.get(OP_ADDR)).getElement(0).getValue();
                  newStep.get(OP_ADDR).set(PathAddress.pathAddress(step.get(OP_ADDR)).subAddress(1).toModelNode());
                  Set<ServerIdentity> servers = getServersForGroup(groupName, host, localHostName, serverProxies);
                  for(ServerIdentity server : servers) {
                      if(!composite.containsKey(server)) {
                          composite.put(server, Operations.CompositeOperationBuilder.create());
                      }
                      composite.get(server).addStep(newStep);
                  }
                  if(!servers.isEmpty()) {
                      newStep.get(OP_ADDR).set(PathAddress.pathAddress(step.get(OP_ADDR)).subAddress(1).toModelNode());
                  }
              }
              if(!composite.isEmpty()) {
                  Map<Set<ServerIdentity>, ModelNode> result = new HashMap<>();
                  for(Entry<ServerIdentity, Operations.CompositeOperationBuilder> entry : composite.entrySet()) {
                      result.put(Collections.singleton(entry.getKey()), entry.getValue().build().getOperation());
                  }
                  return result;
              }
              return Collections.emptyMap();
          }
          final Set<ServerIdentity> allServers = getAllRunningServers(host, localHostName, serverProxies);
          return Collections.singletonMap(allServers, operation.clone());
      }