Remove deprecated items.