Uses new API for events.