extract implicit class