Fold and unfold code.