Adding functionality for Delete operation.