Fix JavaDoc warnings and errors