Haxe generated code