code: function createImportHook() {
    var imports = {};
    return function (fpath, kind, cb) {
      if (imports[fpath]) {
        // Already imported, return nothing to avoid duplicating attributes.
        process.nextTick(cb);
        return;
      }
      imports[fpath] = true;
      fs.readFile(fpath, {encoding: 'utf8'}, cb);
    };
  }
docs: Default file loading function for assembling IDLs.