04In a separate bowl, mix together the cream cheese, 2 teaspoons vanilla, 1 egg, 1/2 cup sugar, and the coconut.05To assemble: layer half of the chocolate batter into the pan. Sprinkle half the nuts and pineapple on top of the batter. Dollop the cream cheese mixture on top, and spread it out across the top. Mix the rest of the nuts and pineapple into the remaining chocolate batter, and pour it over top of the cream cheese mix.06Bake for about 40 minutes (check after 35 minutes). The top should be lightly crusted and the edges lightly browned and beginning to pull from the sides of the pan. Cool completely in pan before cutting.