Tidied up the JavaDoc warnings.