Defines indexer rewrite
Adds rewritten Indexer