Intermediate stage, part of ScalaGen with CPS working.