Implemented simple delete functionality.