Removes a parameter useless which is not in the prototype of the called methods.