Create repositories and documents.