Support for async repl.