Fix export of compileStream and compileContents