I think injecting ObjectManager is enough here.