Add plyr import as workaround for dplyr bug