Cleaned event_cal code.