Peeling or cooking the foods has been shown to eliminate the effects of some allergens such as mal d 1 (apple), but not others such as celery or strawberry. In the case of foods such as hazelnut, which have more than one allergen, cooking may eliminate one allergen but not the other.