Update for Haxe 3.