Get rid of post delete hook code.