Now a Scala class