Used for constructing Tree-based data structures