Renamed bucketCfg to bucket.
Specialized newBucket() event handler.