nit: its becomes a little awkward to have a class `EventBatch` that has a field `eventBatch`. It would be "nicer" to call this field `events`.