Refactor.
Add another db embeddeds function.
Merge branch 'master' of https://github.com/exabugs/MongoTrigger