Switch state_machine gem (unmaintained) to Transitions