docs: function(newinput, bestmatch) {
  		var matches = this._matches,
  			oldindex = -1,
  			oldrating = -1,
  			newrating = edb.InputPlugin._rateone(newinput.type, bestmatch);
  		matches.forEach(function oldbestmatch(match, i) {
  			oldrating = edb.InputPlugin._rateone(match.type, bestmatch);
  			if (oldrating > -1 && oldrating <= newrating) {
  				oldindex = i;
  			}
  		});
  		if (oldindex > -1) {
  			matches[oldindex] = newinput;
  		} else {
  			matches.push(newinput);
  		}
  	}