more Haxe type resolution fixes