Extract repeated text. Yay DRY!
Updated to not repeat text.