Added api for gorilla-repl