Improved MongoDB Aggregate framework support