function deleteUnknownAutoBindMethods(component) {
	  var names = Object.getOwnPropertyNames(component);

	  names.forEach(function (name) {
	    if (shouldDeleteInstanceMethod(component, name)) {
	      delete component[name];
	    }
	  });
	}
Deletes autobound methods from the instance.

For classic React classes, we only delete the methods that no longer exist in map.
This means the user actually deleted them in code.

For modern classes, we delete methods that exist on prototype with the same length,
and which have getters on prototype, but are normal values on the instance.
This is usually an indication that an autobinding decorator is being used,
and the getter will re-generate the memoized handler on next access.