@kizu, those two conditions can be combined into one: `if (this._detect && handler.detect)`