needed for Haxe 3.1.