Made Mapping and Positional callbacks generic.