Implemented 'delete' action.