Added support for asStringState().