Add missing document indexes.