Implement event arrays without `push`.

Use an arrayed callback instead, invoking it to create a callback for
each event, then invoking the callback.