Add some handy REPL functions.