Add ability to use a proc in the field mapper