Fixed javadoc errors and warnings