Improve user hook in reports.