Tweaked the exit events.