Making class final, adding javadoc comments