filter out safe class name when reported as type with 'class ' prepended.