Adding a string function, more interesting and simple API-y interface.