Refactor to TriggerState enums.