Adding mapping of text to StringTypecaster.