Expand code for reports.