New: allow mapping array elements to variables in for tags.