Add archive functionality in events.