Recursive search.