Basic implementation of data source class.