Add bucket.weight support

fixes #90