Corrected JavaDoc errors and compiler warnings.