integral.measure() deprecation changes