Modified model for discipline and add repository.