Add recursion helper.