Scala annotations fix.