Added reports.xqm.

References #521.