filter(this.maybesingle, function(item) {
        return item[0] === type && (!handler || item[1] === handler);
      });