removeItemByID now returns a pointer to the removed item.