Assign mapFold and mapFoldBack