Adds a REPL.
Fixes compilation.