`HTMLDocument.prototype._instrumentationEnabled` is not used. This works because `this._instrumentationEnabled ` is initially `undefined`, which is falsy, but you should instead initialize `this._instrumentationEnabled ` in the constructor.