Added some java docs.