Ensure Doc.snapshot is never undefined