For alterations to scipy code.