Add for loop example with objects
Change list to represent the new interface
Merge branch 'doc/objects'