Add a 'type' for items, such as LayerThresholdItem and InventoryItem.