Refactor bucket model

Following my own advice
Javadoc comment couldn't hurt here