Add preprocessing.