The check for `activity.object` is probably not necessary? Same below for `activity.target`?