Prune events.