Using prototype for Buckets' inner class Element
Bugfixes
Removing garbage