Add support for string and array ranges