add a param  $with_namespaces for get_class_name()