Clean up bucket types doc

Plus some code samples