Remove unwanted code