290. Baked Apples, Cookies
43:5 Fruit that has been cooked specifically for the meal, such as fruit gazpacho or fruit compote, should be eaten at the beginning and the end of the meal with a little bread. One may also eat them mid-meal without bread and they do not require separate brachos to be recited. (Mishnah Brurah 177:4 disagrees and requires that a separate bracha be recited even over cooked fruit.)
43:6 Pastries like cookies and tarts do not require a separate bracha if one eats them in a meal because of hunger. If one eats them only for pleasure, there is a question as to whether or not another blessing should be recited. One should therefore have in mind when reciting hamotzi to include whatever pastries one might eat during the meal.