Stop injecting the entity manager into the delete forms.