Add folding mode.