Adding functionality for basic inventory.