Register the repository