code: function(PluginClass, config) {
              if (PluginClass && PluginClass.NS) {
                  var ns = PluginClass.NS;
      
                  config = config || {};
                  config.host = this;
      
                  if (this.hasPlugin(ns)) {
                      // Update config
                      this[ns].setAttrs(config);
                  } else {
                      // Create new instance
                      this[ns] = new PluginClass(config);
                      this._plugins[ns] = PluginClass;
                  }
              }
          }
docs: Private method used to instantiate and attach plugins to the host
  
  @method _plug
  @param {Function} PluginClass The plugin class to instantiate
  @param {Object} config The configuration object for the plugin
  @private