Fixed about 100 warnings (mostly missing JavaDoc)