Implements a collection of binary search trees.