Minor code improvements for "bucket3 init".