Initial Haxe3 support (still compatible with Haxe 2.10 though)