Remove unnecessary mapping for folding.