Added support for setting some Document level properties back to null.