Remove useless instance check