Support for ES6 for...of loops