HSBBSTree: Refactoring.