Added REPL functionality.