Replaced classNameElement by ReflectionClass