Fix scope of class name that has namespace