Improved processing of new object expressions.
Fixes #37.