Updated ReflectionHelper class.