ENH: enable indexers to work on the index type