Defined the functions AATree exports as a module.