REPL cleanup.