Move wiring of StatefulFSMs into the FSMAnnotationResolver class