Add default values to value getters in the tree node