Improve REPL.