Support indexing on values that aren't strings.

(This is suspicious.)