docs: function registerPlugin(type, Plugin) {
      if (!plugins[type]) {
        throw new Error('Attempting to register "' + Plugin + '" as "' + type + '" which is not a valid HTMLBars plugin type.');
      }
  
      plugins[type].push(Plugin);
    }