Revert "Fix checkstyle and javadocs errors"

This reverts commit b25e989ed4a11e5e5064713036c29e8a719282a7.