Updates to new ScalaPlugin APIs