In another bowl placed over a saucepan of simmering water, melt the chocolate and butter. Remove the bowl from the heat and whisk in the sugar and vanilla. Add the eggs, one at a time, and whisk for 2 minutes. Gently mix in the dry ingredients. Spread the batter evenly in the baking pan.