Clean up objects exposed to REPL.