Added generic repository