Ensured doc.meta.type & dc.meta.source is initialized.