Adds tree builder