Improved java docs.