Fix missing initializer warning in document constructor
Fix overridden initializer warning in tree constructor