Adding links to document