adds doc_class_only to the targets messages (incl. cleanups of the targets messages)