note, event names should be "received", "sent", etc. Without `on` prefix.