Added support for creating external strings.