Add the functionality to supply a custom mapper