Refactored reports for using common code.