Added generic RepositoryManager