Implement delete feature.