Added State Base Classes for FSM.