This should be change to `injectEntityManager` or something.