Symfony optimizations