Resolved all warnings in Scala 2.10