Made it easier to use a text stream