remove type class