docs: function(System, Promise, files, importRegexps) {
        // Chain import promises to maintain sequence
        var promise = Promise.resolve();
        for (var x = 0; x < importRegexps.length; x++) {
          var moduleNames = adapter.getMatchingModulesToImport(files, importRegexps[x], System);
          for (var i = 0; i < moduleNames.length; i++) {
            promise = adapter.chainImport(promise, moduleNames[i], System);
          }
        }
        return promise;
      }