More compact Scala interface