Eliminate warnings uncovered by Scala 2.10.