Get rid of ext-mongo dependency