Added support for links (documents)