clearItems and removeItems