AVALANCHE: Add event handling.