simple-examples.scala improvements.