Changed order of mapping functions to match that expected by Representation#map_to.