Tree links() now handles a list of links, fixed toString()