Using the mapping to replace values.