Pass class name instead of ReflectionClass