Remove not needed code.