Added support for recursive function analysis.