You can probably remove this code. We should assume that all indexes are created ahead of time.