Add map (de)coding.