Support haxe/java oddities.