Added a string-to-index dictionary.