Scala integration