Debugging/REPL improvements.