code: function (name, type) {
                  logger.debug("Attempting to remove plugin: " + name);
                  var index, plug, plugs = this.config.plugins;
                  for (index = 0; index < plugs.length; index += 1) {
                      plug = plugs[index];
                      if (plug.name === name && plug.type === type) {
                          plugs.splice(index, 1);
                          logger.debug("Plugin: " + name + " has been removed");
                          break;
                      }
                  }
              }
docs: Deletes a plugin from the ServiceFactory.