Simplified root node access in tree functions.