Some minor WIP.
Misc scala.
Misc.