Prepare infrastructure for further analysis.