Adds basic delete functionality