'Creates a new embedded document and saves it to the database.
.. note::
The embedded document changes are not automatically saved
to the database after calling this method.
:param values: A dictionary of values for the embedded document.
:return: The new embedded document instance.'

def create(self, **values):

    name = self._name
    EmbeddedClass = self._instance._fields[name].field.document_type_obj
    self._instance[self._name].append(EmbeddedClass(**values))
    return self._instance[self._name][(-1)]
