Implemented REPL functions.