Clean up some duplicated logic. We had two ways to do the same thing here, and BindingInfoBuilder is more flexible.
setDefaultFlags