Performs a variety of functions required for report generation. Extreme beta.