Added support for flipping simple strings.