Fixed stack recursion limit bug when generating functions with functions and circular references
Bumped version to 0.9.9