Change constructor for Text.