This adds a `root_object` method which addresses issue #240.