Fix so that javadoc shows protected methods by default, and internal documentation includes package-private but not private.