DRYing up some.