Removed call to check_tree diagnostic function.