Create removeAndDiscardMethodForSet.py