Added buckets to the model and view.