Leg traits in scala.