Refactor concatenate mapper.