Move to Scala 2.10.3 and fix compile errors.