Improved performance by using the ReflectionClass instance provided by Doctrine