Inventory functionality implemented on server side.