Deleting items by key and by namespace