Changed the String API to make more sense.