Adding documents and links