Scala 10 and Java 7 compatible version