Some convenience functions for the already convenient mgo library.