Support objects in field examples. Closes #44.