Replace measure/measureT with integrate/integrateT.