dplyr-ised some of the package. Mapping and summary functions to do