Improved OreUtil.