Fix metric tree and add an ability to use hyperlinks.