Introduce uid
Calculate linked document instead of pulling them from the API
Merge branch 'master' into 1.1.x