Updated javadoc and final keywords.