Remove dead recursive function.