Remove unwanted code.