Added the support of the Scala 2.10.