Consolidated the way that triggers change their state.