Need to import StringIO.