docs: function(type, handler) {
              var handlers = this._handlers[type],
                  i,
                  len;
  
              if (handlers instanceof Array) {
                  if (!handler) {
                      handlers.length = 0;
                      return;
                  }
                  for (i = 0, len = handlers.length; i < len; i++) {
                      if (handlers[i] === handler || handlers[i].handler === handler) {
                          handlers.splice(i, 1);
                          break;
                      }
                  }
              }
          }