Add simpler version for recursively reversing nodes.