Changed default values for trees. Made helpers for some redundant code.