Enable smart folding