Added SetDepthRecursive.