Always get repository from ObjectManager.