remove instanceof