Initialization of repository.