Implemented destroy command.