Allow pre_save_post_validation signal to modify document.