Fixed issue with FunctionDeclaration in module exports