The best here is probably to throw an "ambiguous type" exception if there are multiple types, but the correct one hasn't been specified.

Similarly, @s1monw what should be the default index if there are multiple indices? It seems we only have access to the index of the parseContext object.