Modifying this to use the profilePath has uncovered a problem with the `url` set on group and user activities. I'm currently fixing this and putting extra tests in place.