Basing Flash worker messaging on Haxe serialization.