Migrate Any to using the type_id intrinsic