Add virtual methods for DataSource(abstract class)