Help me I am nuts!

When baking a cake that has pecans in it, how do I keep the nuts from turning dark when I bake the cake?

Why would you worry about that? The nuts taste better when toasty brown.