Implement FSM support.