add class_name and modulepath to message