docs: function (application) {
        var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];
  
        var registry = this._super.apply(this, arguments);
        registry.register('application:main', application, { instantiate: false });
  
        if (options[_emberApplicationSystemEngine.GLIMMER]) {
          glimmerSetupRegistry(registry);
        } else {
          htmlbarsSetupRegistry(registry);
        }
  
        return registry;
      }