Added documentation for compound queries.