Set default root_object lazily.
Merge pull request #516 from DouweM/lazy-default

Set default root_object lazily.