DRY up formatting a bit.