Moved common fns into string namespace.