Replace String with AbstractString.