Optional retrieval of outputs of codegenerated functions
Removed buffer in code-generated functions