Added get_reports for tree form.
Re-arranged.