API: implement ObjectIndex to take place of Index
Then we would never actually return an Index object.

We could then make ABCIndex behave like ABCIndexClass, and get rid of the latter.

Briefly discussed in #34159