Make `index` argument optional and return curve in `remove curve from playlist`.