Messing around with Scala.