Made the repository more general.