Updated to use Java 8 and Scala 2.11.