Use DoctrineExtensionsBundle directly