Added Serialization Support for FSMComponent.