Renamed preprocess to pretransform