Pass state machine state to transition guards