Cleaned event handlers.