Added docs for querying.