Internal bugfix: make ds_init_string conform to its API.