As mention in comment: `handlerSet` and `handlerList` can be removed.