docs: function setExtMap(map, extname, val) {
      if (extname && extname.indexOf('.') === 0) {
          extname = extname.substring(1);
      }
  
      if (!extname) {
          return;
      }
  
      map[extname] = val;
  }