Fixed multiple errors with javadoc.