Handling delete commands.