rm unused type class fn