Add a Java class being used in Scala.