Remove unneeded, copy-pasted code