Fixing Scala 2.10 issue.