Better NearbyEntitiesUtil.