Pass EntityManager with a call, instead of constructor arguments