Move the classes into a package in Haxe.
Update transaction callback signature.