Fixes most scaladoc/javadoc warnings.