Fix minor javadoc issues and inconsistencies.