Some helper mongo classes and methods