REPL now working (lacking tests, though).