Factor out the checking of string tables.