Added object support in for loops
Closes #26