code: function(document, callback) {
            parentId = document.parentId
            collectionName = document.parentType
  
            var collection = db.collection(collectionName)
              , push = {}
            push[embeddedCollectionName] = document
            collection.findAndModify({ query: { _id: parentId }, update: { $push: push }, new: true}, function(err, oldDoc) {
              callback(document)
              ChangeDispatch.notifyIdChange(parentId, document, "insert", collectionName, embeddedCollectionName)
            })
          }
docs: /*
  Inserts the embedded document specified, and calls the callback with
  the document once it finishes.
  
  @api private