Implement recursion depth limiting.