Move implicit def to implicit val.

Same solution as in Play Companion.