Added support for adding to inventories