Removed unneeded comments
Added `delete-activity` function