Add missing javadoc and header