Remove the parts that were not used.