fixes latest pull request

* override treeBuilder in less intrusive way
* use better equivalent of makeAnonymousNew
Merge pull request #46 from densh/topic/pull/2

fixes latest pull request