(Mostly) debugged Indexer.