code: function(plugin) {
              if (plugin) {
                  this._unplug(plugin);
              } else {
                  var ns;
                  for (ns in this._plugins) {
                      if (this._plugins.hasOwnProperty(ns)) {
                          this._unplug(ns);
                      }
                  }
              }
              return this;
          }
docs: Removes a plugin from the host object. This will destroy the
  plugin instance and delete the namepsace from the host object.
  
  @method unplug
  @param {String | Function} plugin The namespace of the plugin, or the plugin class with the static NS namespace property defined. If not provided,
  all registered plugins are unplugged.
  @return {Base} A reference to the host object
  @chainable