Add more JavaDoc documentation.