Added in extra timing hooks to scala.scala.