Expose tree related operation functions into seperated file.