Added missing onInventoryChanged calls.