Updated Inventory usage to the new interface.