Added utilities to repl-commands