Improve bucket code documentation.