Finished deleting function.