Better handling of c/python strings.