Dependency injection on Client class