Updated documentation in Java files.