More java<>scala and strings helper stuff.