Added support for editing schedules/events.