Scala: add scala features.