Proposed to add to/from functions for working with mongodb.
Proposed to add to/from functions for working with mongodb.