Add 'add_cleanup' to event.