Tree validation uses udfs

I don't see any value in deleting docstrings.  Consider adding this back in.