Generalize the way the mapping is used