Make each helper data uniform

Provide @key and @last value for all forms of iteration.

Fixes #910