Preprocess analysis.