Implement interfaces for dbdriver