Upgraded to Scala 2.11.0 and fixed new warnings.