#881 "Scala 2.10: use applyOrElse and implicit classes"