Made PSM Haxe code compile again.