Custom MongoDB mode