Add remove function for REPL - references #124