Add a preprocess callback option.