Preprocessing.