Housekeeping for events.