Added support for sequence's index notation in vars block.