Setting up DenEvents.