Ported to Haxe 3
Ported to Haxe 3