DRYing up the specs