Refactored out separate bucket_settings.go file.