Account for custom events.