Modified should not be set by document itself.