Implemented Inventory::removeitem.