repository: make cache & logger private