Added setBarDefaults for #30