Remove unused items.