make bucket and stats extensible