Moving SearchTree base class factory method to be a static member
in the base class.