Provided an alternate title if doc[doc.type] is unset.