This `var idx` thing must happen AFTER we check if `this._listeners[name]` even exists.