Add documentation comments, add the SQL that was executed as the transformed query to the result. Make use of the distinct-values option where there is the possibility of multiple results which should be listed as one term only.