Add ability to retrieve indexes