Delete unnecessary components