<code>DISTINCT() MAX() MIN() AVG()</code> functions and the <code>GROUP BY</code> clause are now converted into optimized <i>MongoDB</i> aggregation pipelines