Changed the index type to a string everywhere.