Maybe link to the `getNumValidEndPoints` method somewhere here in case people want more detailed semantics.