Add eachProperty helper.
Fix eachIndex helper and add test.