Add to asTree method to make output more useful.