Alcohol can add flavor and texture, change consistency, and boost flavor in cakes, pies, and other baked goods. Dessert recipes often incorporate liquor in two ways: adding alcohol prior to baking, which usually results in more subtle notes, or adding it after baking in a glaze or icing, for a more prominent, on-the-nose flavor. Stewart seems to have done both in her recent cake.