Making use of new-ish Scala 2.10 method