We say that there are no hidden rules. But some of them are hard to find.
Specifically, Holy Water contains* a rule that:
A cleric or paladin may create holy water by performing a special ritual.
This is not mentioned in the Cleric or Paladin entry.
Are there other class abilities and features like that? "Hidden" outside of the class entry?
Abilities added in different sourcebook than the one in which a class/subclass was introduced only count if they are not in the section most people would expect to find changes and options for classes.
* Note that this paragraph in the Holy Water entry was there from the very beginning, when only the three core books were published. In Xanathar Guide to Everything is a spell Ceremony, that allows them to do the same for an additional cost of a spell prepared, and no benefits, so I don't see why anyone would choose that. But that's an optional, additional way to do it, not something author of the Holy Water entry was referencing - as it didn't even exist.
Thus - if there is a "hidden" ability that only later, in different source, was recreated as a spell, it still counts for me.