Implemented overloading for operator delete.