Solved compilation warning for scala 2.9.1.