Document mode opt.