Added some java docs