Quick hack to make it work with Scala 2.10