Implement support for indexed and keyed subscript syntax.