Added support for formatting strings.