Added AlmostPersistentFSM