Switched from bytestring to text.