Inventory management functionality added.