Add javadocs and fix ident