Improved the documentation strings in the query functions.
Merge branch 'master' into readme