Support ."foo" syntax for accessing fields. See #141.