Reworked to avoid extending String class on blob per hdm's rec.