docs: function Delegator(id, events, capture, bubble, contextDocument) {
      this.bubble = bubble;
      this.capture = capture;
      this.document = contextDocument;
      this.documentElement = contextDocument.documentElement;
      this.events = events;
      this.id = id;
      this.registry = {};
  }