Get rid of capacity argument to ds_init() and update all callers.