Custom folding was implemented.