rename `handler` to `fn` in `event_emitter`/`index` comments