Added support for Aggregation pipeline queries.