include bucket type when getting or setting bucket properties