Added support for inner FunctionDeclarations
Updated version