Remove copy-pasted code.