Repository added to model