Use dependency injection to clarify dependencies