Some nice work tidying up core classes, inspection and the REPL.