Fixing FunctionDeclaration as module exports

No tests yet