Add more string API methods.