Cleaned up the events.