Fixed Scala syntax