Made minor changes to the DB support class.