Initializing repository.