Only match `haxe.Rest` argument type for extern classes.