Added IDataClient interface to facilitate mocking.