Added useful methods to Inventory