Export IsString and fromString (fixes #28)