Prepare support for combined queries.