Reduced history functionality; as it was previously very expensive.