Speed inprovement in the inventory manager.