Add all-events fn to retrieve all events.