Allow implicit context iteration with each

Fixes #671