Setup a trivial indexer class