Add the preprocessing.