Get rid of unnecessary code.