Oh, now I remember why. It's not so easily vectorised because each is generated by a different class. I'm not sure if there's a nice way to do this.