Added UID for documents