Working with InventoryUtil and removing NMS references.