Add listeners to event processing