Prepared REPL for history functionality.
REPL refinements.