support class with namespace