Set fold method.