Add REPL interfaces.