STABLE VERSION: all string API implemented and functions are in the right order.