Yea, we can use TreeOptions here.

Please define the method above release().

I wish we could define a reasonable default implementation. But its not possible because the class doesn't have any reference back to the Repository or ObjectDatabase.