Moving bits to java-/scala-project support libs.