Implement a CanBuildFrom for Pmf. Adjust examples to the new Pmf map interface.