API change of String