Remove preparation of objects passed through set() in the query builder.
Loop over associationMappings instead of fieldMappings. Less looping.
Build embedded document values from changeset information when possible so we don't do the same work twice.