Fixed bugs in javadoc.