init documents.