Implemented the content delete handler