Updated commentary for processing queries.