This could probably go in it's own module, or even on specref itself, actually.