Sift or whisk flour, salt, baking powder and baking soda. Add pecans if using, then set aside. In a separate bowl, cream sugar and butter. Mix in eggs, one at a time, then add the bananas. Add dry ingredients and buttermilk, alternating until incorporated. Try to end with the dry ingredient addition, and be sure not to over mix.