Implemented delete feature.