Removing items from the list in addition to the map.