Remove duplicative code.