hull interface for the database.