Refactor Databse Adapters to use Adapter behaviour.