#293 - support indexed properties

Fixes #277. Fixes #293.