Implemented deletion controller.