Added a generic repository