Added a DB interface.