Preparing for analysis.