When updating a document where some fields have been nullified, this uses the $unset operator to remove nil fields entirely. This ensures that fields with no content don't take up space unnecessarily in the db.
Also, there were some failures in the spec suite that were present both before and after my changes - I put them in a gist in case you were unaware of them:
https://gist.github.com/803439
Thoughts and changes are of course welcome
Thanks!