Caching and commands in REPL fully implemented