Added warn messages for missing (or malformed) metadata elements.