Added Java docs