Updated the DataService closure class to use XhrManager.