Custom samplers for MongoDB