Added calendar functionality to events.