Refactored method names in database driver.