Add projections to queries