Aded support for a "reset" command.