Get rid of unwanted code.