Fixed error in repl.