docs: function(input) {
  		var matches = this._matches;
  		var watches = this._watches;
  		var best = edb.InputPlugin._bestmatch(input.type, watches, true);
  		if (best) {
  			var oldinput = matches.filter(function(input) {
  				return input.type === best;
  			})[0];
  			var index = matches.indexOf(oldinput);
  			matches.splice(index, 1);
  			this.done = this._done();
  			if (!this.done) {
  				input.revoked = true;
  				this._updatehandlers(input);
  			}
  		}
  	}