Improved the documentation strings in the query functions.