Document behaviour of .[] on objects.

Closes #57.