docs: function(mod, modName, rawCode, done) {
    var resolveModule = function(requiredName) {
      return mod.getModuleIDByOrigin(requiredName);
    };
    try {
      var transformedCode = fixReactTransform(transform(rawCode, {harmony: true}));
      var modularizedCode =
        Modularizer.modularize(modName, transformedCode, resolveModule);
      originalSourceCache[modName] = rawCode;
      transformCache[modName] = modularizedCode;
      transformTimes[modName] = Date.now();
      done(null, transformCache[modName]);
    } catch (e) {
      // Original error only includes esprima trace!
      var parseError =
        new Error('Syntax Error: ' + mod.path + ' ' + e.toString());
      done(parseError);
    }
  }