Replace delete with del in method list