Check for `None` for field setter.

More specifically, when a compound field is set to None, set the value
of that field to `None` instead of creating an empty `ModelType` of that
compound object.