Initialize repository.