Import of old java code.