Remove delete-resource hook