Making client dependency injectable and testable.