Haxe generation works