Mark every function if it is generated by continuation.
Only recursively add try block into functions that are generated and ignore the original nested functions.
This commit fixes issues #4