Add methods to DataProvider class.