Added commands and introspection to repl mode.