Remove an instanceof.