Minor addition and fixes to the query/resultset objects.