Refactored get_state() to state() in the FiniteStateMachine implementation.