docs: private static void addPathChain(PathChain pathChain) {
  		HttpString method = new HttpString(pathChain.getMethod());
  
  		// Use a random integer as the id for a given path.
  		Integer randInt = new Random().nextInt();
  		while (handlerListById.containsKey(randInt.toString())) {
  			randInt = new Random().nextInt();
  		}
  
  		// Flatten out the execution list from a mix of middleware chains and handlers.
  		List<HttpHandler> handlers = getHandlersFromExecList(pathChain.getExec());
  		if(handlers.size() > 0) {
  			// If a matcher already exists for the given type, at to that instead of
  			// creating a new one.
  			PathTemplateMatcher<String> pathTemplateMatcher = methodToMatcherMap.containsKey(method)
  				? methodToMatcherMap.get(method)
  				: new PathTemplateMatcher<>();
  
  			if(pathTemplateMatcher.get(pathChain.getPath()) == null) { pathTemplateMatcher.add(pathChain.getPath(), randInt.toString()); }
  			methodToMatcherMap.put(method, pathTemplateMatcher);
  			handlerListById.put(randInt.toString(), handlers);
  		}
  	}