Fixed javadoc errors and typos