Introducing the FsmSubStateWrapper.