`str` is correct. This code is more or less copied from the places we set index values, so it's reasonable to look them up the same way.