Move record type strings to constants