Convert everything to Scala