Inherit trees in a better way