Event cleanup.