Change parameter of Controller to fit in the constructor of Indexer