Remove bucket type support from legacy API

You can have that in the new API