What are you referring to?

The code needs to be duplicated because of the x-prefixes. Also, I wouldn't stress _too much_ over five duplicate lines, though I agree clean-up would be nice.