Working on the API for repositories.