MongoDB helper changes