Add archive functionality in events.

Indent please.