Including licence header and javadoc mistakes.