Update the documentation to include queries.