Initial work on adding REPL support.