Added auto-generated pin to documents.