Update javadoc

Change some fields to final