Part of the DB interface.