code: function init(generator, config, logger) {
          _generator = generator;
          _config = config;
          _logger = logger;
  
          _documentManager = new DocumentManager(generator, config, logger);
          _stateManager = new StateManager(generator, config, logger, _documentManager);
          _renderManager = new RenderManager(generator, config, logger);
  
          if (!!_config["css-enabled"]) {
              var SONToCSS = require("./lib/css/sontocss.js");
              _SONToCSSConverter = new SONToCSS(generator, config, logger, _documentManager);
          }
  
          // For automated tests
          exports._renderManager = _renderManager;
          exports._stateManager = _stateManager;
          exports._assetManagers = _assetManagers;
          exports._layerNameParse = require("./lib/parser").parse;
  
          _stateManager.on("enabled", _startAssetGeneration);
          _stateManager.on("disabled", _pauseAssetGeneration);
          _documentManager.on("openDocumentsChanged", _handleOpenDocumentsChanged);
  
          Headlights.init(generator, logger, _stateManager, _renderManager);
      }
docs: Initialize the Assets plugin.
  
  @param {Generator} generator The Generator instance for this plugin.
  @param {object} config Configuration options for this plugin.
  @param {Logger} logger The Logger instance for this plugin.