Maybe this should be called initializeDocuments or something of the sort?