Initial work on the REPL.