Interface for DataAccess and stub