Final codes and javadoc