Changed generic repository