Update example to Scala 2.10.