Added editing of events.