Fixed JVM warnings.