Delete unnecessary parts