Remove bind and getEntityManger deprecations.
Remove Twig deprecation.