Fix problem when defining a function called 'delete' in a class, not happens in Node