Optimizations for events and ICs.