Delete curve functions (with safe removal of data)