Added the preprocessing.