Add defaults, fix iteration bugs
Merge branch 'master' into gh-pages
Update docs