Fixed Scala style